package com.zzzzzz.content.topic;

import java.io.IOException;

import com.zzzzzz.account.signin.NoSuchOnlineUserException;
import com.zzzzzz.account.user.UserBase;

public interface TopicService {

	String add(UserBase userBase, TopicForm topicForm) throws IOException ;

	void edit(String userId, String topicId, TopicForm topicForm) throws NoSuchOnlineUserException, IOException;

	Topic findById(String topicId) throws NoSuchTopicException;

	void editStatus(String userId, String topicId, Integer status);

}
